package com.anivia.system.auth.model.vo;

import com.anivia.common.core.enums.DataScopeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 权限
 * </p>
 *
 * @author wangj
 */
@Data
@Schema
public class ResourceInfoVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "资源id")
    private Integer resourceId;

    @Schema(description = "数据权限")
    private DataScopeEnum dataScope;

    @Schema(description = " 自定义部门id集合")
    private List<Integer> customDeptIds;
}
